package context.model;

public class User {
    private long id;
    private String username;
    private String gender;
    private String phoneNumber;
    private int age;
    private int dataVisibility;
    private String message; //简介
    private String password;
    private String qq;
    private String userimg;
    private String work;

    public User() {
    }

    public User(String username, String message) {
        this.username = username;
        this.message = message;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public String getUserimg() {
        return userimg;
    }

    public void setUserimg(String userimg) {
        this.userimg = userimg;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getGender() {
        return gender;
    }

    public void setGender(String gender) {
        this.gender = gender;
    }

    public String getWork() {
        return work;
    }

    public void setWork(String work) {
        this.work = work;
    }

    public String getQq() {
        return qq;
    }

    public void setQq(String qq) {
        this.qq = qq;
    }

    public String getPhoneNumber() {
        return phoneNumber;
    }

    public void setPhoneNumber(String phoneNumber) {
        this.phoneNumber = phoneNumber;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public int getDataVisibility() {
        return dataVisibility;
    }

    public void setDataVisibility(int dataVisibility) {
        this.dataVisibility = dataVisibility;
    }

    @Override
    public String toString() {
        return "User{" +
                "id=" + id +
                ", username='" + username + '\'' +
                ", gender='" + gender + '\'' +
                ", phoneNumber='" + phoneNumber + '\'' +
                ", age=" + age +
                ", dataVisibility=" + dataVisibility +
                ", message='" + message + '\'' +
                ", password='" + password + '\'' +
                ", qq='" + qq + '\'' +
                ", userimg='" + userimg + '\'' +
                ", work='" + work + '\'' +
                '}';
    }
}
